package com.mlethe.library.socialtool.entity;

import android.graphics.Bitmap;

/**
 * 视频分享实体（仅支持微信、微博）
 * @author Mlethe
 */
public class ShareVideo extends Share {
    /**
     * 微信视频链接、微博视频本地地址
     */
    private String videoPath;
    /**
     * 微信供低带宽的环境下使用的视频链接
     */
    private String videoLowBandUrl;

    /**
     * 微博只获取videoPath和title
     * @param videoPath
     * @param title
     */
    public ShareVideo(String videoPath, String title) {
        super(title, null);
        this.videoPath = videoPath;
    }

    public ShareVideo(String videoPath, String title, String desc) {
        super(title, desc);
        this.videoPath = videoPath;
    }

    public ShareVideo(String videoPath, String title, String desc, int drawableId) {
        super(title, desc, drawableId);
        this.videoPath = videoPath;
    }

    public ShareVideo(String videoPath, String title, String desc, Bitmap bitmap) {
        super(title, desc, bitmap);
        this.videoPath = videoPath;
    }

    public ShareVideo(String videoPath, String title, String desc, String imageUrl) {
        super(title, desc, imageUrl);
        this.videoPath = videoPath;
    }

    public ShareVideo(String videoPath, String title, String desc, byte[] imageData) {
        super(title, desc, imageData);
        this.videoPath = videoPath;
    }

    public String getVideoPath() {
        return videoPath;
    }

    public String getVideoLowBandUrl() {
        return videoLowBandUrl;
    }

    public void setVideoLowBandUrl(String videoLowBandUrl) {
        this.videoLowBandUrl = videoLowBandUrl;
    }
}
